const express = require("express");
var router = express.Router();
const locationController = require("../controller/locationController");

router.route("/provinces").get(locationController.getProvinces);

router.route("/cities").get(locationController.getCities);

router.route("/areas").get(locationController.getAreas);

router.route("/streets").get(locationController.getStreets);

router.route("/villages").get(locationController.getVillages);

module.exports = router;
